package com.blog4j.server.modules.email.context;

import com.blog4j.common.enums.EmailTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2024/8/14 12:21
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
public class EmailContext {
    /**
     * 邮箱地址
     */
    private String email;

    /**
     * 邮件类型
     */
    private EmailTypeEnum emailTypeEnum;

    /**
     * 邮件发送方
     */
    private String from;

    /**
     * 邮件内容
     */
    private String content;

    /**
     * 邮件主题
     */
    private String subject;
}
